package com.rc.evcharger.model.member;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MemberAccountRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MemberAccountRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAccountRecordIdIsNull() {
            addCriterion("account_record_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdIsNotNull() {
            addCriterion("account_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdEqualTo(Long value) {
            addCriterion("account_record_id =", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdNotEqualTo(Long value) {
            addCriterion("account_record_id <>", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdGreaterThan(Long value) {
            addCriterion("account_record_id >", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("account_record_id >=", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdLessThan(Long value) {
            addCriterion("account_record_id <", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("account_record_id <=", value, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdIn(List<Long> values) {
            addCriterion("account_record_id in", values, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdNotIn(List<Long> values) {
            addCriterion("account_record_id not in", values, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdBetween(Long value1, Long value2) {
            addCriterion("account_record_id between", value1, value2, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andAccountRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("account_record_id not between", value1, value2, "accountRecordId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoIsNull() {
            addCriterion("local_trade_no is null");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoIsNotNull() {
            addCriterion("local_trade_no is not null");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoEqualTo(String value) {
            addCriterion("local_trade_no =", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoNotEqualTo(String value) {
            addCriterion("local_trade_no <>", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoGreaterThan(String value) {
            addCriterion("local_trade_no >", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoGreaterThanOrEqualTo(String value) {
            addCriterion("local_trade_no >=", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoLessThan(String value) {
            addCriterion("local_trade_no <", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoLessThanOrEqualTo(String value) {
            addCriterion("local_trade_no <=", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoLike(String value) {
            addCriterion("local_trade_no like", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoNotLike(String value) {
            addCriterion("local_trade_no not like", value, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoIn(List<String> values) {
            addCriterion("local_trade_no in", values, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoNotIn(List<String> values) {
            addCriterion("local_trade_no not in", values, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoBetween(String value1, String value2) {
            addCriterion("local_trade_no between", value1, value2, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andLocalTradeNoNotBetween(String value1, String value2) {
            addCriterion("local_trade_no not between", value1, value2, "localTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoIsNull() {
            addCriterion("in_trade_no is null");
            return (Criteria) this;
        }

        public Criteria andInTradeNoIsNotNull() {
            addCriterion("in_trade_no is not null");
            return (Criteria) this;
        }

        public Criteria andInTradeNoEqualTo(String value) {
            addCriterion("in_trade_no =", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoNotEqualTo(String value) {
            addCriterion("in_trade_no <>", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoGreaterThan(String value) {
            addCriterion("in_trade_no >", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoGreaterThanOrEqualTo(String value) {
            addCriterion("in_trade_no >=", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoLessThan(String value) {
            addCriterion("in_trade_no <", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoLessThanOrEqualTo(String value) {
            addCriterion("in_trade_no <=", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoLike(String value) {
            addCriterion("in_trade_no like", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoNotLike(String value) {
            addCriterion("in_trade_no not like", value, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoIn(List<String> values) {
            addCriterion("in_trade_no in", values, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoNotIn(List<String> values) {
            addCriterion("in_trade_no not in", values, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoBetween(String value1, String value2) {
            addCriterion("in_trade_no between", value1, value2, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andInTradeNoNotBetween(String value1, String value2) {
            addCriterion("in_trade_no not between", value1, value2, "inTradeNo");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdIsNull() {
            addCriterion("enterpeise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdIsNotNull() {
            addCriterion("enterpeise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdEqualTo(Long value) {
            addCriterion("enterpeise_id =", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdNotEqualTo(Long value) {
            addCriterion("enterpeise_id <>", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdGreaterThan(Long value) {
            addCriterion("enterpeise_id >", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterpeise_id >=", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdLessThan(Long value) {
            addCriterion("enterpeise_id <", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterpeise_id <=", value, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdIn(List<Long> values) {
            addCriterion("enterpeise_id in", values, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdNotIn(List<Long> values) {
            addCriterion("enterpeise_id not in", values, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdBetween(Long value1, Long value2) {
            addCriterion("enterpeise_id between", value1, value2, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andEnterpeiseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterpeise_id not between", value1, value2, "enterpeiseId");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNull() {
            addCriterion("account_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIsNotNull() {
            addCriterion("account_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountTypeEqualTo(String value) {
            addCriterion("account_type =", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotEqualTo(String value) {
            addCriterion("account_type <>", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThan(String value) {
            addCriterion("account_type >", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_type >=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThan(String value) {
            addCriterion("account_type <", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLessThanOrEqualTo(String value) {
            addCriterion("account_type <=", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeLike(String value) {
            addCriterion("account_type like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotLike(String value) {
            addCriterion("account_type not like", value, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeIn(List<String> values) {
            addCriterion("account_type in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotIn(List<String> values) {
            addCriterion("account_type not in", values, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeBetween(String value1, String value2) {
            addCriterion("account_type between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andAccountTypeNotBetween(String value1, String value2) {
            addCriterion("account_type not between", value1, value2, "accountType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeIsNull() {
            addCriterion("record_type is null");
            return (Criteria) this;
        }

        public Criteria andRecordTypeIsNotNull() {
            addCriterion("record_type is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTypeEqualTo(String value) {
            addCriterion("record_type =", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeNotEqualTo(String value) {
            addCriterion("record_type <>", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeGreaterThan(String value) {
            addCriterion("record_type >", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeGreaterThanOrEqualTo(String value) {
            addCriterion("record_type >=", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeLessThan(String value) {
            addCriterion("record_type <", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeLessThanOrEqualTo(String value) {
            addCriterion("record_type <=", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeLike(String value) {
            addCriterion("record_type like", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeNotLike(String value) {
            addCriterion("record_type not like", value, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeIn(List<String> values) {
            addCriterion("record_type in", values, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeNotIn(List<String> values) {
            addCriterion("record_type not in", values, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeBetween(String value1, String value2) {
            addCriterion("record_type between", value1, value2, "recordType");
            return (Criteria) this;
        }

        public Criteria andRecordTypeNotBetween(String value1, String value2) {
            addCriterion("record_type not between", value1, value2, "recordType");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(BigDecimal value) {
            addCriterion("result =", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotEqualTo(BigDecimal value) {
            addCriterion("result <>", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThan(BigDecimal value) {
            addCriterion("result >", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("result >=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThan(BigDecimal value) {
            addCriterion("result <", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultLessThanOrEqualTo(BigDecimal value) {
            addCriterion("result <=", value, "result");
            return (Criteria) this;
        }

        public Criteria andResultIn(List<BigDecimal> values) {
            addCriterion("result in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotIn(List<BigDecimal> values) {
            addCriterion("result not in", values, "result");
            return (Criteria) this;
        }

        public Criteria andResultBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("result between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andResultNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("result not between", value1, value2, "result");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoIsNull() {
            addCriterion("source_trade_no is null");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoIsNotNull() {
            addCriterion("source_trade_no is not null");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoEqualTo(String value) {
            addCriterion("source_trade_no =", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoNotEqualTo(String value) {
            addCriterion("source_trade_no <>", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoGreaterThan(String value) {
            addCriterion("source_trade_no >", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoGreaterThanOrEqualTo(String value) {
            addCriterion("source_trade_no >=", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoLessThan(String value) {
            addCriterion("source_trade_no <", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoLessThanOrEqualTo(String value) {
            addCriterion("source_trade_no <=", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoLike(String value) {
            addCriterion("source_trade_no like", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoNotLike(String value) {
            addCriterion("source_trade_no not like", value, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoIn(List<String> values) {
            addCriterion("source_trade_no in", values, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoNotIn(List<String> values) {
            addCriterion("source_trade_no not in", values, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoBetween(String value1, String value2) {
            addCriterion("source_trade_no between", value1, value2, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andSourceTradeNoNotBetween(String value1, String value2) {
            addCriterion("source_trade_no not between", value1, value2, "sourceTradeNo");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNull() {
            addCriterion("refund_status is null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIsNotNull() {
            addCriterion("refund_status is not null");
            return (Criteria) this;
        }

        public Criteria andRefundStatusEqualTo(String value) {
            addCriterion("refund_status =", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotEqualTo(String value) {
            addCriterion("refund_status <>", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThan(String value) {
            addCriterion("refund_status >", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusGreaterThanOrEqualTo(String value) {
            addCriterion("refund_status >=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThan(String value) {
            addCriterion("refund_status <", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLessThanOrEqualTo(String value) {
            addCriterion("refund_status <=", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusLike(String value) {
            addCriterion("refund_status like", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotLike(String value) {
            addCriterion("refund_status not like", value, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusIn(List<String> values) {
            addCriterion("refund_status in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotIn(List<String> values) {
            addCriterion("refund_status not in", values, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusBetween(String value1, String value2) {
            addCriterion("refund_status between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andRefundStatusNotBetween(String value1, String value2) {
            addCriterion("refund_status not between", value1, value2, "refundStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusIsNull() {
            addCriterion("frozen_status is null");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusIsNotNull() {
            addCriterion("frozen_status is not null");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusEqualTo(String value) {
            addCriterion("frozen_status =", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusNotEqualTo(String value) {
            addCriterion("frozen_status <>", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusGreaterThan(String value) {
            addCriterion("frozen_status >", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusGreaterThanOrEqualTo(String value) {
            addCriterion("frozen_status >=", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusLessThan(String value) {
            addCriterion("frozen_status <", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusLessThanOrEqualTo(String value) {
            addCriterion("frozen_status <=", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusLike(String value) {
            addCriterion("frozen_status like", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusNotLike(String value) {
            addCriterion("frozen_status not like", value, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusIn(List<String> values) {
            addCriterion("frozen_status in", values, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusNotIn(List<String> values) {
            addCriterion("frozen_status not in", values, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusBetween(String value1, String value2) {
            addCriterion("frozen_status between", value1, value2, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andFrozenStatusNotBetween(String value1, String value2) {
            addCriterion("frozen_status not between", value1, value2, "frozenStatus");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNull() {
            addCriterion("channel_type is null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIsNotNull() {
            addCriterion("channel_type is not null");
            return (Criteria) this;
        }

        public Criteria andChannelTypeEqualTo(String value) {
            addCriterion("channel_type =", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotEqualTo(String value) {
            addCriterion("channel_type <>", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThan(String value) {
            addCriterion("channel_type >", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeGreaterThanOrEqualTo(String value) {
            addCriterion("channel_type >=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThan(String value) {
            addCriterion("channel_type <", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLessThanOrEqualTo(String value) {
            addCriterion("channel_type <=", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeLike(String value) {
            addCriterion("channel_type like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotLike(String value) {
            addCriterion("channel_type not like", value, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeIn(List<String> values) {
            addCriterion("channel_type in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotIn(List<String> values) {
            addCriterion("channel_type not in", values, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeBetween(String value1, String value2) {
            addCriterion("channel_type between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelTypeNotBetween(String value1, String value2) {
            addCriterion("channel_type not between", value1, value2, "channelType");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIsNull() {
            addCriterion("channel_level is null");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIsNotNull() {
            addCriterion("channel_level is not null");
            return (Criteria) this;
        }

        public Criteria andChannelLevelEqualTo(String value) {
            addCriterion("channel_level =", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotEqualTo(String value) {
            addCriterion("channel_level <>", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelGreaterThan(String value) {
            addCriterion("channel_level >", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelGreaterThanOrEqualTo(String value) {
            addCriterion("channel_level >=", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLessThan(String value) {
            addCriterion("channel_level <", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLessThanOrEqualTo(String value) {
            addCriterion("channel_level <=", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLike(String value) {
            addCriterion("channel_level like", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotLike(String value) {
            addCriterion("channel_level not like", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIn(List<String> values) {
            addCriterion("channel_level in", values, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotIn(List<String> values) {
            addCriterion("channel_level not in", values, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelBetween(String value1, String value2) {
            addCriterion("channel_level between", value1, value2, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotBetween(String value1, String value2) {
            addCriterion("channel_level not between", value1, value2, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioIsNull() {
            addCriterion("rabete_ratio is null");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioIsNotNull() {
            addCriterion("rabete_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioEqualTo(Long value) {
            addCriterion("rabete_ratio =", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioNotEqualTo(Long value) {
            addCriterion("rabete_ratio <>", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioGreaterThan(Long value) {
            addCriterion("rabete_ratio >", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioGreaterThanOrEqualTo(Long value) {
            addCriterion("rabete_ratio >=", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioLessThan(Long value) {
            addCriterion("rabete_ratio <", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioLessThanOrEqualTo(Long value) {
            addCriterion("rabete_ratio <=", value, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioIn(List<Long> values) {
            addCriterion("rabete_ratio in", values, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioNotIn(List<Long> values) {
            addCriterion("rabete_ratio not in", values, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioBetween(Long value1, Long value2) {
            addCriterion("rabete_ratio between", value1, value2, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andRabeteRatioNotBetween(Long value1, Long value2) {
            addCriterion("rabete_ratio not between", value1, value2, "rabeteRatio");
            return (Criteria) this;
        }

        public Criteria andChannelStatusIsNull() {
            addCriterion("channel_status is null");
            return (Criteria) this;
        }

        public Criteria andChannelStatusIsNotNull() {
            addCriterion("channel_status is not null");
            return (Criteria) this;
        }

        public Criteria andChannelStatusEqualTo(String value) {
            addCriterion("channel_status =", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusNotEqualTo(String value) {
            addCriterion("channel_status <>", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusGreaterThan(String value) {
            addCriterion("channel_status >", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusGreaterThanOrEqualTo(String value) {
            addCriterion("channel_status >=", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusLessThan(String value) {
            addCriterion("channel_status <", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusLessThanOrEqualTo(String value) {
            addCriterion("channel_status <=", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusLike(String value) {
            addCriterion("channel_status like", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusNotLike(String value) {
            addCriterion("channel_status not like", value, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusIn(List<String> values) {
            addCriterion("channel_status in", values, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusNotIn(List<String> values) {
            addCriterion("channel_status not in", values, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusBetween(String value1, String value2) {
            addCriterion("channel_status between", value1, value2, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andChannelStatusNotBetween(String value1, String value2) {
            addCriterion("channel_status not between", value1, value2, "channelStatus");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeIsNull() {
            addCriterion("withdraw_time is null");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeIsNotNull() {
            addCriterion("withdraw_time is not null");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeEqualTo(Date value) {
            addCriterion("withdraw_time =", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeNotEqualTo(Date value) {
            addCriterion("withdraw_time <>", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeGreaterThan(Date value) {
            addCriterion("withdraw_time >", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("withdraw_time >=", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeLessThan(Date value) {
            addCriterion("withdraw_time <", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeLessThanOrEqualTo(Date value) {
            addCriterion("withdraw_time <=", value, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeIn(List<Date> values) {
            addCriterion("withdraw_time in", values, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeNotIn(List<Date> values) {
            addCriterion("withdraw_time not in", values, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeBetween(Date value1, Date value2) {
            addCriterion("withdraw_time between", value1, value2, "withdrawTime");
            return (Criteria) this;
        }

        public Criteria andWithdrawTimeNotBetween(Date value1, Date value2) {
            addCriterion("withdraw_time not between", value1, value2, "withdrawTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}